package com.czz.vod.service;

import com.aliyuncs.vod.model.v20170321.CreateUploadVideoResponse;
import com.aliyuncs.vod.model.v20170321.RefreshUploadVideoResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @ClassName: VideoService
 * @Author Czz
 * @Date 2020/1/29
 * @Time 10:58
 **/
public interface VideoService {
    String uploadVideo(MultipartFile file);
    void deleteVideo(String videoId);
    void deleteVideoBatch(List<String> videoList);
    CreateUploadVideoResponse getUploadAuthAndAddress(String title, String fileName);
    RefreshUploadVideoResponse refreshUploadAuthAndAddress(String videoId);
    String getVideoPlayAuth(String videoId);
}
